<html>
    <head>
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui" />
        <meta charset="utf-8" />
        <!-- 引入样式 -->
<!--        <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">-->
        <link rel="stylesheet" href="./lib/element-ui/theme-chalk/index.css">
        <title>file upload</title>
    </head>
    <body>
      <div id="app">
          <el-container>
              <el-main>
                  <el-card class="box-card">
                      <div slot="header" class="clearfix">
                          <span>上传</span>
                      </div>
                      <el-form>
                          <el-row>
                              <form action="upload" method="POST" enctype="multipart/form-data">
                                  <input type="file" name="file"/>
                                  <input type="submit" value="Upload"/>
                              </form>
                          </el-row>
                      </el-form>
                  </el-card>
                  <br />
                  <el-card class="box-card">
                      <div slot="header" class="clearfix">
                          <span>wifi管理</span>
                      </div>
                      <el-form :model="form" :inline="true" label-position="left" >
<!--                          <el-row>-->
<!--                              <p>当前状态： {{ form.wifiEnable }}</p>-->
<!--                          </el-row>-->
                          <el-form-item label="wifi开启">
                              <el-switch v-model="form.wifiEnable"></el-switch>
                          </el-form-item>
                          <el-button type="primary" @click="buttonWifi">提交wifi状态</el-button>
                      </el-form>
                  </el-card>
              </el-main>
          </el-container>
      </div>
    </body>
    <!-- 引入组件库 -->
    <script src="./lib/vue.min.js"></script>
    <script src="./lib/axios.min.js"></script>
    <script src="./lib/element-ui/index.js"></script>
    <!--    <script src="https://unpkg.com/element-ui/lib/index.js"></script>-->
    <script src="./my.js"></script>
</html>
